cmake_minimum_required(VERSION 3.8)
project(yolo_test)

# 设置C++标准
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(yolo_test yolotest.cpp main.cpp)

target_link_libraries(yolo_test ${OpenCV_LIBS})